package com.tenebrous.jestic.enums;

/**
 * @Description:
 * @Project: jestic-server
 * @Package: com.tenebrous.jestic.enums
 * @Author: zhangya
 * @CreateTime: 2023-06-03  22:20
 * @Version: 1.0.0
 */
public enum InstanceStatusEnum {

    /**初始化**/
    INIT(0),

    /**健康状态**/
    HEALTHY(1),

    /**不可以**/
    UNAVAILABLE(2),

    /**暂停**/
    STOP(3),

    /**下线**/
    OFFLINE(4),

    /**未知**/
    UNKNOWN(5);

    private int code;

    InstanceStatusEnum(int code) {
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
